home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="utf-8"?> <html><head><title>Sqr Function [Runtime]</title><meta name="filename" content="text/sbasic/common/03080401"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css"> p.P1{ } p.P2{ } span.T1{ font-weight:bold;} </style></head><body> <help:to-be-embedded Eid="sqr" xmlns:help="http://openoffice.org/2000/help"> <p class="Head1"><help:link Id="66446">Sqr Function [Runtime]</help:link></p> <p class="Paragraph">Calculates the square root of a numeric expression.</p> </help:to-be-embedded> <p class="Paragraph"><span class="T1">Syntax</span>:</p> <p class="Paragraph">Sqr (Number) <help:key-word value="Sqr" tag="kw66446_1" xmlns:help="http://openoffice.org/2000/help"/></p> <p class="Paragraph"><span class="T1">Return value</span>:</p> <p class="Paragraph">Double</p> <p class="Paragraph"><span class="T1">Parameter</span>:</p> <p class="Paragraph">Number: Any numeric expression for which to calculate the square root.</p> <p class="Paragraph">The square root is the number to raise to the power 2 in order to get the number c (6^2 is forexample 36; therefore the square root from 36 is 6).</p> <p class="P2">Example:</p> <p class="PropText">Sub ExampleSqr</p> <p class="PropText">Dim iVar As Single</p> <p class="PropText">iVar = 36</p> <p class="PropText">Msgbox Sqr(iVar)</p> <p class="PropText">end sub</p> </body></html>